.TH "Point" 3 "Thu Mar 8 2012" "Tugas Besar 1 PBO IF2032" \" -*- nroff -*-
.ad l
.nh
.SH NAME
Point \- 
.SH SYNOPSIS
.br
.PP
.PP
\fC#include <Point\&.h>\fP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBPoint\fP (int x=0, int y=0)"
.br
.ti -1c
.RI "\fBPoint\fP (const \fBPoint\fP &orig)"
.br
.ti -1c
.RI "virtual \fB~Point\fP ()"
.br
.ti -1c
.RI "\fBPoint\fP & \fBoperator=\fP (const \fBPoint\fP &orig)"
.br
.ti -1c
.RI "void \fBsetPoint\fP (int x, int y)"
.br
.ti -1c
.RI "int \fBgetAbsis\fP () const "
.br
.ti -1c
.RI "int \fBgetOrdinat\fP () const "
.br
.ti -1c
.RI "int \fBdot\fP (const \fBPoint\fP &P) const "
.br
.ti -1c
.RI "\fBPoint\fP & \fBMirror\fP (const \fBPoint\fP &P1, const \fBPoint\fP &P2) const "
.br
.in -1c
.SS "Friends"

.in +1c
.ti -1c
.RI "ostream & \fBoperator<<\fP (ostream &stream, const \fBPoint\fP &P)"
.br
.ti -1c
.RI "\fBPoint\fP \fBoperator+\fP (const \fBPoint\fP &p1, const \fBPoint\fP &p2)"
.br
.ti -1c
.RI "\fBPoint\fP \fBoperator-\fP (const \fBPoint\fP &p1, const \fBPoint\fP &p2)"
.br
.ti -1c
.RI "\fBPoint\fP \fBoperator*\fP (const \fBPoint\fP &P, int X)"
.br
.ti -1c
.RI "\fBPoint\fP \fBoperator*\fP (int X, const \fBPoint\fP &P)"
.br
.ti -1c
.RI "\fBPoint\fP \fBoperator/\fP (const \fBPoint\fP &P, int X)"
.br
.ti -1c
.RI "\fBPoint\fP \fBoperator/\fP (int X, const \fBPoint\fP &P)"
.br
.in -1c
.SH "Detailed Description"
.PP 
Kelas \fBPoint\fP 
.SH "Constructor & Destructor Documentation"
.PP 
.SS "\fBPoint::Point\fP (intx = \fC0\fP, inty = \fC0\fP)"
Konstruktor dari kelas point
.PP
\fBParameters:\fP
.RS 4
\fIx\fP Absis (default:0) 
.br
\fIy\fP Ordinat (default:0) 
.RE
.PP

.SS "\fBPoint::Point\fP (const \fBPoint\fP &orig)"
Copy Konstruktor dari kelas point
.PP
\fBParameters:\fP
.RS 4
\fIorig\fP \fBPoint\fP original (reference ke \fBPoint\fP) 
.RE
.PP

.SS "\fBPoint::~Point\fP ()\fC [virtual]\fP"
Destruktor dari kelas point 
.SH "Member Function Documentation"
.PP 
.SS "int \fBPoint::dot\fP (const \fBPoint\fP &P) const"
Operator perkalian dot terhadap kelas point 
.PP
\fBParameters:\fP
.RS 4
\fIP\fP Suatu \fBPoint\fP 
.RE
.PP
\fBReturns:\fP
.RS 4
Absis*P\&.Absis+Ordinat*P\&.Ordinat 
.RE
.PP

.SS "int \fBPoint::getAbsis\fP () const"
Getter Absis 
.PP
\fBReturns:\fP
.RS 4
Absis dari \fBPoint\fP 
.RE
.PP

.SS "int \fBPoint::getOrdinat\fP () const"
Getter Ordinat 
.PP
\fBReturns:\fP
.RS 4
Ordinat dari \fBPoint\fP 
.RE
.PP

.SS "\fBPoint\fP& \fBPoint::Mirror\fP (const \fBPoint\fP &P1, const \fBPoint\fP &P2) const"
Operasi Mirror pada suatu \fBPoint\fP 
.PP
\fBParameters:\fP
.RS 4
\fIP1\fP Suatu \fBPoint\fP 
.br
\fIP2\fP Suatu \fBPoint\fP 
.RE
.PP
\fBReturns:\fP
.RS 4
Mirror P1 terhadap P2 
.RE
.PP

.SS "\fBPoint\fP & Point::operator= (const \fBPoint\fP &orig)"
Assignment operator dari kelas \fBPoint\fP 
.PP
\fBParameters:\fP
.RS 4
\fIorig\fP \fBPoint\fP original (reference ke \fBPoint\fP) 
.RE
.PP
\fBReturns:\fP
.RS 4
Reference ke \fBPoint\fP (memungkinkan asssigment berantai) 
.RE
.PP

.SS "void \fBPoint::setPoint\fP (intx, inty)"
Setter dari kelas point
.PP
\fBParameters:\fP
.RS 4
\fIx\fP Absis 
.br
\fIy\fP Ordinat 
.RE
.PP

.SH "Friends And Related Function Documentation"
.PP 
.SS "\fBPoint\fP operator* (const \fBPoint\fP &P, intX)\fC [friend]\fP"
Operator perkalian terhadap kelas point 
.PP
\fBParameters:\fP
.RS 4
\fIP\fP Suatu \fBPoint\fP 
.br
\fIX\fP Konstanta 
.RE
.PP
\fBReturns:\fP
.RS 4
\fBPoint\fP(P\&.Absis*X,P\&.Ordinat*X) 
.RE
.PP

.SS "\fBPoint\fP operator* (intX, const \fBPoint\fP &P)\fC [friend]\fP"
Operator perkalian terhadap kelas point 
.PP
\fBParameters:\fP
.RS 4
\fIX\fP Konstanta 
.br
\fIP\fP Suatu \fBPoint\fP 
.RE
.PP
\fBReturns:\fP
.RS 4
\fBPoint\fP(P\&.Absis*X,P\&.Ordinat*X) 
.RE
.PP

.SS "\fBPoint\fP operator+ (const \fBPoint\fP &p1, const \fBPoint\fP &p2)\fC [friend]\fP"
Operator + untuk kelas \fBPoint\fP menghasilkan (p1\&.x+p2\&.x,p1\&.y+p2\&.y)
.PP
\fBParameters:\fP
.RS 4
\fIp1\fP Point1 
.br
\fIp2\fP Point2 
.RE
.PP

.SS "\fBPoint\fP operator- (const \fBPoint\fP &p1, const \fBPoint\fP &p2)\fC [friend]\fP"
Operator - untuk kelas \fBPoint\fP menghasilkan (p1\&.x-p2\&.x,p1\&.y-p2\&.y) 
.PP
\fBParameters:\fP
.RS 4
\fIp1\fP Point1 
.br
\fIp2\fP Point2 
.RE
.PP

.SS "\fBPoint\fP operator/ (const \fBPoint\fP &P, intX)\fC [friend]\fP"
Operator pembagian terhadap kelas point 
.PP
\fBParameters:\fP
.RS 4
\fIP\fP Suatu \fBPoint\fP 
.br
\fIX\fP Konstanta 
.RE
.PP
\fBReturns:\fP
.RS 4
\fBPoint\fP(P\&.Absis/X,P\&.Ordinat/X) 
.RE
.PP

.SS "\fBPoint\fP operator/ (intX, const \fBPoint\fP &P)\fC [friend]\fP"
Operator pembagian terhadap kelas point 
.PP
\fBParameters:\fP
.RS 4
\fIX\fP Konstanta 
.br
\fIP\fP Suatu \fBPoint\fP 
.RE
.PP
\fBReturns:\fP
.RS 4
\fBPoint\fP(P\&.Absis/X,P\&.Ordinat/X) 
.RE
.PP

.SS "ostream& operator<< (ostream &stream, const \fBPoint\fP &P)\fC [friend]\fP"
Output Stream untuk kelas point
.PP
\fBParameters:\fP
.RS 4
\fIstream\fP Buffer stream output 
.br
\fIP\fP \fBPoint\fP P 
.RE
.PP
\fBReturns:\fP
.RS 4
stream output untuk kelas \fBPoint\fP 
.RE
.PP


.SH "Author"
.PP 
Generated automatically by Doxygen for Tugas Besar 1 PBO IF2032 from the source code\&.
